package com.guigu.zj.service.impl;


import com.guigu.mapper.MakesetupMapper;
import com.guigu.pojo.Makesetup;
import com.guigu.zj.service.MakeSetupService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MakeSetupServiceImpl implements MakeSetupService {
    @Autowired
    MakesetupMapper makesetupMapper;
    public int insertSelective(Makesetup record) {
        return makesetupMapper.insertSelective(record);
    }

    public Makesetup query(Makesetup makesetup) {
        return makesetupMapper.queryByMakedate(makesetup);
    }

    public int countDate(String makedate) {
        return makesetupMapper.countDate(makedate);
    }

    public int updateMakeDate(Makesetup record) {
        return makesetupMapper.updateMakeDate(record);
    }
}
